gtk4.git
10 years agocss: use "disabled" instead of the "insensitivie"
Paolo Borelli [Sun, 20 Mar 2016 16:45:19 +0000 (17:45 +0100)]
css: use "disabled" instead of the "insensitivie"

Not only there is a typo, but it is also deprecated.

10 years agostyleproperties: Really don't use 'i' in inner loop
Benjamin Otte [Sun, 20 Mar 2016 12:42:18 +0000 (13:42 +0100)]
styleproperties: Really don't use 'i' in inner loop

I apparently was too tired when doing
8cebc125da7e3f9c49a6d4e0ea5320c11b7c21af and forgot to replace one
instance of 'i' with 'j'.

Thanks Timm for finding that one.

10 years agoUpdated Serbian Latin translation
Милош Поповић [Sun, 20 Mar 2016 09:00:50 +0000 (09:00 +0000)]
Updated Serbian Latin translation

10 years agoUpdated Serbian translation
Марко Костић [Sun, 20 Mar 2016 08:59:39 +0000 (08:59 +0000)]
Updated Serbian translation

10 years agobroadway: Use explicit sizes for payload length
Benjamin Otte [Sun, 20 Mar 2016 04:50:53 +0000 (05:50 +0100)]
broadway: Use explicit sizes for payload length

The previous greater than comparisons would never trigger the 2nd case.

http://www.viva64.com/en/b/0383/

10 years agox11: Use g_error_matches()
Benjamin Otte [Sun, 20 Mar 2016 04:43:02 +0000 (05:43 +0100)]
x11: Use g_error_matches()

Fixes accidentally assigning values.

http://www.viva64.com/en/b/0383/

10 years agostyleproperties: Don't use the same loop variable in nested loops
Benjamin Otte [Sun, 20 Mar 2016 04:37:23 +0000 (05:37 +0100)]
styleproperties: Don't use the same loop variable in nested loops

http://www.viva64.com/en/b/0383/

10 years agotests: Add missing break statements
Benjamin Otte [Sun, 20 Mar 2016 04:36:17 +0000 (05:36 +0100)]
tests: Add missing break statements

http://www.viva64.com/en/b/0383/

10 years agogtk-demo: Fix copy/paste error
Benjamin Otte [Sun, 20 Mar 2016 04:32:35 +0000 (05:32 +0100)]
gtk-demo: Fix copy/paste error

http://www.viva64.com/en/b/0383/

10 years agobroadway: Remove duplicate initialization
Benjamin Otte [Sun, 20 Mar 2016 04:31:20 +0000 (05:31 +0100)]
broadway: Remove duplicate initialization

http://www.viva64.com/en/b/0383/

10 years agox11: Remove duplicate variable setting
Benjamin Otte [Sun, 20 Mar 2016 04:30:03 +0000 (05:30 +0100)]
x11: Remove duplicate variable setting

http://www.viva64.com/en/b/0383/

10 years agomenubar: Remove duplicate flags value
Benjamin Otte [Sun, 20 Mar 2016 04:28:10 +0000 (05:28 +0100)]
menubar: Remove duplicate flags value

http://www.viva64.com/en/b/0383/

10 years agocalendar: Remove duplicate flags value
Benjamin Otte [Sun, 20 Mar 2016 04:27:19 +0000 (05:27 +0100)]
calendar: Remove duplicate flags value

http://www.viva64.com/en/b/0383/

10 years agocssshadowvalue: Fix copy/paste issue
Benjamin Otte [Sun, 20 Mar 2016 04:26:10 +0000 (05:26 +0100)]
cssshadowvalue: Fix copy/paste issue

http://www.viva64.com/en/b/0383/

10 years agoplacesview: Simplify
Benjamin Otte [Sun, 20 Mar 2016 04:18:38 +0000 (05:18 +0100)]
placesview: Simplify

http://www.viva64.com/en/b/0383/

10 years agopathbar: Order button CSS nodes right
Benjamin Otte [Thu, 17 Mar 2016 12:50:05 +0000 (13:50 +0100)]
pathbar: Order button CSS nodes right

The previous code ordered them the wrong way, so the first button (from
a CSS pov) was the last visible one.

10 years agoAdwaita: fix places sidebar icons style
Lapo Calamandrei [Sat, 19 Mar 2016 19:13:06 +0000 (20:13 +0100)]
Adwaita: fix places sidebar icons style

the color wasn't changing in backdrop.

10 years agoAdwaita: added a transition to the backdrop state to most widgets
Lapo Calamandrei [Sat, 19 Mar 2016 18:56:15 +0000 (19:56 +0100)]
Adwaita: added a transition to the backdrop state to most widgets

10 years agoAdwaita: clean up checkbutton and radiobutton styling
Lapo Calamandrei [Sat, 19 Mar 2016 17:59:29 +0000 (18:59 +0100)]
Adwaita: clean up checkbutton and radiobutton styling

some superfluous selectors there since generic label styling was
broken.

10 years agoRevert "Adwaita: checkbutton and radiobutton backdrop color fix"
Lapo Calamandrei [Sat, 19 Mar 2016 17:57:33 +0000 (18:57 +0100)]
Revert "Adwaita: checkbutton and radiobutton backdrop color fix"

This reverts commit 43937c6aa0bc0966f4bb0518c443a3f212c9d300.
Which was needed since the label styling was broken.

10 years agoAdwaita: fix label styling
Lapo Calamandrei [Sat, 19 Mar 2016 17:55:13 +0000 (18:55 +0100)]
Adwaita: fix label styling

backdrop wasn't in the mix, added and adjusted other widgets
styling not to be overridden by it when not needed.
Spotted a typo making the backdrop base color white in the process.

10 years agoAdwaita: reset entry props on horizontal spinbuttons
Lapo Calamandrei [Sat, 19 Mar 2016 17:09:22 +0000 (18:09 +0100)]
Adwaita: reset entry props on horizontal spinbuttons

the spinbutton node is where the styling is applied, the leftover
properties on the entry node make a backdrop transition bad.

10 years agoAdwaita: remove commented out code
Lapo Calamandrei [Sat, 19 Mar 2016 16:53:36 +0000 (17:53 +0100)]
Adwaita: remove commented out code

10 years agoAdwaita: checkbutton and radiobutton backdrop color fix
Lapo Calamandrei [Sat, 19 Mar 2016 16:46:49 +0000 (17:46 +0100)]
Adwaita: checkbutton and radiobutton backdrop color fix

this sets the right backdrop color to the label insider the
aformentined widgets.

10 years agoAdwaita: simplify headerbar style
Lapo Calamandrei [Sat, 19 Mar 2016 16:23:39 +0000 (17:23 +0100)]
Adwaita: simplify headerbar style

10 years agoAdwaita: correctly order backdrop decoration node shadows
Lapo Calamandrei [Sat, 19 Mar 2016 16:08:17 +0000 (17:08 +0100)]
Adwaita: correctly order backdrop decoration node shadows

... otherwise setting a transition to the backdrop state will make
the window resize, since the shadows size gets interpolated.

10 years agoUpdated Danish translation by scootergrisen
Ask Hjorth Larsen [Sat, 19 Mar 2016 02:43:32 +0000 (03:43 +0100)]
Updated Danish translation by scootergrisen

10 years agoHigh Contrast: switch style fix
Lapo Calamandrei [Fri, 18 Mar 2016 18:25:09 +0000 (19:25 +0100)]
High Contrast: switch style fix

10 years agoHigh Contrast: don't hardcode a font-size on the switch
Lapo Calamandrei [Fri, 18 Mar 2016 18:10:36 +0000 (19:10 +0100)]
High Contrast: don't hardcode a font-size on the switch

10 years agoHigh Contrast: stronger entry focus indication
Lapo Calamandrei [Fri, 18 Mar 2016 18:05:20 +0000 (19:05 +0100)]
High Contrast: stronger entry focus indication

10 years agoHigh Contrast: fix a typo
Lapo Calamandrei [Fri, 18 Mar 2016 18:03:19 +0000 (19:03 +0100)]
High Contrast: fix a typo

10 years agoAdwaita: fix colorscale shrinking when disabled
Lapo Calamandrei [Fri, 18 Mar 2016 17:38:48 +0000 (18:38 +0100)]
Adwaita: fix colorscale shrinking when disabled

10 years agoHigh Contrast: fix drop states
Jakub Steiner [Fri, 18 Mar 2016 14:47:30 +0000 (15:47 +0100)]
High Contrast: fix drop states

https://bugzilla.gnome.org/show_bug.cgi?id=763823

10 years agoUpdated Ukrainian translation
Daniel Korostil [Fri, 18 Mar 2016 14:46:01 +0000 (16:46 +0200)]
Updated Ukrainian translation

10 years agoHigh Contrast: spinbutton active state
Jakub Steiner [Fri, 18 Mar 2016 14:44:27 +0000 (15:44 +0100)]
High Contrast: spinbutton active state

- more contrast for the active state
- osd active state

10 years agoHigh Contrast: osd spinbutton fixes
Jakub Steiner [Fri, 18 Mar 2016 14:30:46 +0000 (15:30 +0100)]
High Contrast: osd spinbutton fixes

- don't jump around for :backdrop
- only shade focused widgets

10 years agoHigh Contrast: osd spinbuttons
Jakub Steiner [Fri, 18 Mar 2016 14:22:16 +0000 (15:22 +0100)]
High Contrast: osd spinbuttons

https://bugzilla.gnome.org/show_bug.cgi?id=763846

10 years agoHight Contrast: scrollbars
Jakub Steiner [Fri, 18 Mar 2016 12:53:30 +0000 (13:53 +0100)]
Hight Contrast: scrollbars

https://bugzilla.gnome.org/show_bug.cgi?id=763797

10 years agoUpdated Swedish translation
Anders Jonsson [Fri, 18 Mar 2016 10:14:33 +0000 (10:14 +0000)]
Updated Swedish translation

10 years agoUpdated Swedish translation
Anders Jonsson [Fri, 18 Mar 2016 10:13:42 +0000 (10:13 +0000)]
Updated Swedish translation

10 years agoUpdated Italian translation
Milo Casagrande [Fri, 18 Mar 2016 08:28:19 +0000 (08:28 +0000)]
Updated Italian translation

10 years agoGDK W32: Don't move iconic windows
Руслан Ижбулатов [Thu, 17 Mar 2016 20:07:33 +0000 (20:07 +0000)]
GDK W32: Don't move iconic windows

Using UpdateLayeredWindow() on iconic windows brings them *back* from
their iconic (minimized) state. That is bad.
As a precaution, also don't use SetWindowPos() on iconic windows.
This means that iconic windows can't be moved. That is fixable
by using SetWindowPlacement(), but there is no pressing need to do so,
as there are very few cases when windows need to be moved while minimized.

https://bugzilla.gnome.org/show_bug.cgi?id=763835

10 years agoUpdated Brazilian Portuguese translation
Rafael Fontenelle [Fri, 18 Mar 2016 05:05:10 +0000 (05:05 +0000)]
Updated Brazilian Portuguese translation

10 years agoquartz: fix quartz build
Christian Hergert [Fri, 18 Mar 2016 04:18:58 +0000 (21:18 -0700)]
quartz: fix quartz build

More fallout from recent refactoring.

See also b3860e407d3edb6f94d53269960c052756516aa2.

10 years agogtkwindow: ignore default size if there is a size request
Olivier Fourdan [Wed, 16 Mar 2016 13:19:14 +0000 (14:19 +0100)]
gtkwindow: ignore default size if there is a size request

Some applications set both a default size on their gtk window and a size
request on the corresponding gtk widget.

Until now, the default size was ignored for fixed size windows, so this
had no effect and remained unnoticed, but with the recent change for
client-side decorations, the default size is now used even for fixed size
windows, which can cause the resulting fixed size window to be much
smaller than expected with the size request.

For fixed size windows, if we have both a size request and a default
size set, prefer the size request as before.

https://bugzilla.gnome.org/show_bug.cgi?id=763749

10 years agoUpdated Italian translation
Milo Casagrande [Thu, 17 Mar 2016 20:08:07 +0000 (20:08 +0000)]
Updated Italian translation

10 years agoUpdated Italian translation
Milo Casagrande [Thu, 17 Mar 2016 20:03:44 +0000 (20:03 +0000)]
Updated Italian translation

10 years agoHigh Contrast: disabled flat buttons
Jakub Steiner [Thu, 17 Mar 2016 13:57:09 +0000 (14:57 +0100)]
High Contrast: disabled flat buttons

- disabled flat buttons and backdrop state

10 years agoHigh Contrast: fix app-notifications
Jakub Steiner [Thu, 17 Mar 2016 12:07:04 +0000 (13:07 +0100)]
High Contrast: fix app-notifications

- get rid of the internal frame

https://bugzilla.gnome.org/show_bug.cgi?id=763781

10 years agoHigh Contrast: menubar separator
Jakub Steiner [Thu, 17 Mar 2016 12:00:32 +0000 (13:00 +0100)]
High Contrast: menubar separator

- set menubar apart form the window content

https://bugzilla.gnome.org/show_bug.cgi?id=763777

10 years agoHigh Contrast: fix titlebuttons sizing
Lapo Calamandrei [Thu, 17 Mar 2016 11:16:48 +0000 (12:16 +0100)]
High Contrast: fix titlebuttons sizing

... simplifying the scss in the process.

10 years agoHigh Contrast: add undecorated button mixin
Lapo Calamandrei [Thu, 17 Mar 2016 11:14:23 +0000 (12:14 +0100)]
High Contrast: add undecorated button mixin

... which is used in _common.scss, this fixes flat button not
being, well, flat.

10 years agoHigh Contrast: remove an adwaita leftover
Lapo Calamandrei [Thu, 17 Mar 2016 10:36:37 +0000 (11:36 +0100)]
High Contrast: remove an adwaita leftover

... a missing mixin which makes no sense in HC actually.

10 years agoAdwaita: fix wide separators
Lapo Calamandrei [Thu, 17 Mar 2016 09:32:35 +0000 (10:32 +0100)]
Adwaita: fix wide separators

10 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Thu, 17 Mar 2016 03:33:59 +0000 (03:33 +0000)]
Updated Kazakh translation

10 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Thu, 17 Mar 2016 03:33:32 +0000 (03:33 +0000)]
Updated Kazakh translation

10 years agoHighContrast: Fix actionbar borders
Matthias Clasen [Thu, 17 Mar 2016 01:56:33 +0000 (21:56 -0400)]
HighContrast: Fix actionbar borders

Make the selector more specific so that it doesn't affect contained
boxes. Copied from Adwaita.

https://bugzilla.gnome.org/show_bug.cgi?id=763775

10 years agoUpdated Korean translation
Changwoo Ryu [Wed, 16 Mar 2016 19:49:50 +0000 (19:49 +0000)]
Updated Korean translation

10 years agoUpdated Korean translation
Changwoo Ryu [Wed, 16 Mar 2016 19:49:22 +0000 (19:49 +0000)]
Updated Korean translation

10 years agoAdwaita: shrink back big standalone osd buttons
Lapo Calamandrei [Wed, 16 Mar 2016 17:06:56 +0000 (18:06 +0100)]
Adwaita: shrink back big standalone osd buttons

10 years agoHigh Contrast: button metrics
Jakub Steiner [Wed, 16 Mar 2016 14:25:28 +0000 (15:25 +0100)]
High Contrast: button metrics

- sync with Adwaita for button definitions

https://bugzilla.gnome.org/show_bug.cgi?id=763706

10 years agoHigh Contrast: spinbuttons
Jakub Steiner [Wed, 16 Mar 2016 14:15:20 +0000 (15:15 +0100)]
High Contrast: spinbuttons

- sync with Adwaita

https://bugzilla.gnome.org/show_bug.cgi?id=763696

10 years agoHigh Contrast: circular buttons
Jakub Steiner [Wed, 16 Mar 2016 13:53:47 +0000 (14:53 +0100)]
High Contrast: circular buttons

- make sure they are visible on selected rows

https://bugzilla.gnome.org/show_bug.cgi?id=763612

10 years agoHigh Contrast: fix entry and button metrics
Jakub Steiner [Wed, 16 Mar 2016 13:32:14 +0000 (14:32 +0100)]
High Contrast: fix entry and button metrics

- sync with Adwaita

https://bugzilla.gnome.org/show_bug.cgi?id=763610

10 years agoAdwaita: remove a nonsensical comment
Lapo Calamandrei [Wed, 16 Mar 2016 12:42:38 +0000 (13:42 +0100)]
Adwaita: remove a nonsensical comment

10 years agoHigh Contrast: keycap styling
Lapo Calamandrei [Wed, 16 Mar 2016 12:34:00 +0000 (13:34 +0100)]
High Contrast: keycap styling

sync with Adwaita with some styling tweaks.

10 years agoAdwaita: simplify treeview check and radio scss
Lapo Calamandrei [Wed, 16 Mar 2016 12:11:15 +0000 (13:11 +0100)]
Adwaita: simplify treeview check and radio scss

10 years agoHigh Contrast: fix metrics for popover menus
Jakub Steiner [Wed, 16 Mar 2016 11:57:14 +0000 (12:57 +0100)]
High Contrast: fix metrics for popover menus

- ripped the appropriate bits from Adwaita.

https://bugzilla.gnome.org/show_bug.cgi?id=763609

10 years agoHigh Contrast: reimplement check and radio
Jakub Steiner [Tue, 15 Mar 2016 18:22:07 +0000 (19:22 +0100)]
High Contrast: reimplement check and radio

Use a similar structure as Adwaita - using buttons for
radios and checkboxes.

https://bugzilla.gnome.org/show_bug.cgi?id=763707

10 years agoscale: Fix value height calculation
Timm Bäder [Wed, 16 Mar 2016 09:20:17 +0000 (10:20 +0100)]
scale: Fix value height calculation

if (orientation) doesn't make a lot of sense but C doesn't complain and
instead evaluates orientation to TRUE for GTK_ORIENTATION_VERTICAL
(since that's 1), thus inverting the value sizes.

10 years agoAdwaita: notebook better header spacing
Lapo Calamandrei [Tue, 15 Mar 2016 18:02:11 +0000 (19:02 +0100)]
Adwaita: notebook better header spacing

added some padding to the header and margins to the tabs node when
it's not the only child.

10 years agoHigh Contrast: disabled scales more subtle
Jakub Steiner [Tue, 15 Mar 2016 17:27:41 +0000 (18:27 +0100)]
High Contrast: disabled scales more subtle

Make even the tough border subtle to make it distinct from
normal state.

https://bugzilla.gnome.org/show_bug.cgi?id=763613

10 years agoAdwaita: fix progressbar in treeviews styling
Lapo Calamandrei [Tue, 15 Mar 2016 16:02:01 +0000 (17:02 +0100)]
Adwaita: fix progressbar in treeviews styling

10 years agoAdwaita: add some comments in the GtkScale related scss
Lapo Calamandrei [Tue, 15 Mar 2016 15:12:40 +0000 (16:12 +0100)]
Adwaita: add some comments in the GtkScale related scss

10 years agoHigh Contrast: checkboxes and radios inside treeviews
Jakub Steiner [Tue, 15 Mar 2016 14:49:25 +0000 (15:49 +0100)]
High Contrast: checkboxes and radios inside treeviews

- fixes hover state of checkboxes and radios inside treeviews

10 years agoHigh Contrast: reimplement gtk scale
Jakub Steiner [Tue, 15 Mar 2016 13:22:11 +0000 (14:22 +0100)]
High Contrast: reimplement gtk scale

- sync with Adwaita to the new box model

https://bugzilla.gnome.org/show_bug.cgi?id=763613

10 years agoCorrect a deprecation note
Matthias Clasen [Tue, 15 Mar 2016 13:03:21 +0000 (09:03 -0400)]
Correct a deprecation note

The CSS equivalent for focus-padding is outline-offset.

10 years agoHigh Contrast: distinct insensitive button
Jakub Steiner [Tue, 15 Mar 2016 12:21:15 +0000 (13:21 +0100)]
High Contrast: distinct insensitive button

Tone down insensitive buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=746490

10 years ago3.19.12
Matthias Clasen [Mon, 14 Mar 2016 23:14:31 +0000 (19:14 -0400)]
3.19.12

10 years agowindow: stop stomping on resize-mode set by external API
Cosimo Cecchi [Mon, 14 Mar 2016 22:41:16 +0000 (15:41 -0700)]
window: stop stomping on resize-mode set by external API

commit c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f fixed the behavior of
GtkContainer widgets requesting an IMMEDIATE resize-mode.

However, GtkWindow has been stomping on resize-mode during realize()
since commit addcc64b9cbb2fb1225080075ad3112a3d93d839. The combination
of factors that led to this not being a visible problem during all this
while is uncertain, but this now causes the Shell to continuously try to
relayout its ShellEmbeddedWindow (a GtkWindow subclass).

This commit separates the resize-mode as set internally by GtkWindow
from the one set with the external API, so that GtkWindow only changes
it when it had not been set before by the subclass.

https://bugzilla.gnome.org/show_bug.cgi?id=763650

10 years agoUpdated Greek translation
Tom Tryfonidis [Mon, 14 Mar 2016 21:03:53 +0000 (21:03 +0000)]
Updated Greek translation

10 years agoUpdates
Matthias Clasen [Mon, 14 Mar 2016 19:54:52 +0000 (15:54 -0400)]
Updates

10 years agoAdwaita: fix vertical linked spinbuttons
Lapo Calamandrei [Mon, 14 Mar 2016 18:36:12 +0000 (19:36 +0100)]
Adwaita: fix vertical linked spinbuttons

which I broke in a previous commit...

10 years agoAdwaita: more drag hilight fixes
Lapo Calamandrei [Mon, 14 Mar 2016 18:19:43 +0000 (19:19 +0100)]
Adwaita: more drag hilight fixes

10 years agoGtkScrolledWindow: Do not hover one scrollbar if grabbing on the other
Carlos Garnacho [Mon, 14 Mar 2016 17:47:37 +0000 (18:47 +0100)]
GtkScrolledWindow: Do not hover one scrollbar if grabbing on the other

Makes no sense since we're not going to interact with it. It'll be
hovered eventually if the button is released.

10 years agoGtkScrolledWindow: Check proximity on both indicators on grab-end leave events
Carlos Garnacho [Mon, 14 Mar 2016 18:13:05 +0000 (19:13 +0100)]
GtkScrolledWindow: Check proximity on both indicators on grab-end leave events

The implicit grab may be finished so the pointer lies on top of the other
scrollbar, in this case one scrollbar should lose the hovering state, and
the other should gain it. So we must check for proximity in both indicators.

10 years agoAdwaita: use a green (Tango Chameleon 3) for drag hilight
Lapo Calamandrei [Mon, 14 Mar 2016 17:46:56 +0000 (18:46 +0100)]
Adwaita: use a green (Tango Chameleon 3) for drag hilight

10 years agoAdwaita: placessidebar dnd fixes
Lapo Calamandrei [Mon, 14 Mar 2016 17:33:40 +0000 (18:33 +0100)]
Adwaita: placessidebar dnd fixes

10 years agoGDK W32: Fix shown window position calculation for dialogs and splashes
Руслан Ижбулатов [Mon, 14 Mar 2016 16:14:22 +0000 (16:14 +0000)]
GDK W32: Fix shown window position calculation for dialogs and splashes

Two errors here:
1) A typo in splashscreen rectangle calculation - sets right twice
   instead of setting top
2) Centering for dialogs is off because it doesn't convert
   GDK virtual desktop coordinates to Windows WM virtual desktop
   coordinates by adding _gdk_offset_*

https://bugzilla.gnome.org/show_bug.cgi?id=763628

10 years agoAdwaita: places sidebar selected button fix and refactor
Lapo Calamandrei [Mon, 14 Mar 2016 16:22:31 +0000 (17:22 +0100)]
Adwaita: places sidebar selected button fix and refactor

10 years agogdkdnd: Add private means to commit the drag status
Carlos Garnacho [Wed, 9 Mar 2016 16:00:31 +0000 (17:00 +0100)]
gdkdnd: Add private means to commit the drag status

The way gdk_drag_status() may be called multiple times during the
processing of drag and drop events throughout the widget hierarchy
brings some superfluous messaging going in, esp. when it's the last
request the one we want to honor, yet we emit messaging requests on
all.

This is barely appreciable in the X11 backend, but due to the design
of the wayland protocol, quick series of changes like this it have
some self-amplificating consequences which may end up flooding the
connection.

We can delegate this to a late "commit" call, performed within GDK
event management. This way gdk_drag_status() calls may be cached
and only result in windowing messaging once per ::drag-motion or
::drag-data-received event. Emitting the final status will also
avoid spurious action changes on the compositor and the other peer.

https://bugzilla.gnome.org/show_bug.cgi?id=763298

10 years agoGtkNotebook: Make tab DnD use application/x-rootwindow-drop again
Carlos Garnacho [Wed, 9 Mar 2016 16:43:18 +0000 (17:43 +0100)]
GtkNotebook: Make tab DnD use application/x-rootwindow-drop again

Besides the ::drag-failed handling in order to trigger the window creation
hook, add some handling of the application/x-rootwindow-drop mimetype, so
the same effect is achieved if the tab could be dropped in a destination
accepting this mimetype.

https://bugzilla.gnome.org/show_bug.cgi?id=763387

10 years agoGtkWindow: Make it an application/x-rootwindow-drop destination
Carlos Garnacho [Wed, 9 Mar 2016 16:37:27 +0000 (17:37 +0100)]
GtkWindow: Make it an application/x-rootwindow-drop destination

This makes toplevels pseudo-transparent wrt this mimetype, so if
the drag source offers this mimetype and not another that was
managed by the destination-side widget hierarchy, the window will
be an acceptable target for this mimetype, allowing it to trigger
whatever is meant to in the source side.

https://bugzilla.gnome.org/show_bug.cgi?id=763387

10 years agoGDK W32: Fix pointer-under-window code for custom resize
Руслан Ижбулатов [Sat, 12 Mar 2016 12:55:24 +0000 (12:55 +0000)]
GDK W32: Fix pointer-under-window code for custom resize

This code:
>  gdk_window_get_root_origin (window, &x, &y);
>  x -= root_x;
>  y -= root_y;
>  pointer_window = gdk_device_get_window_at_position (device, &x, &y);
was meant to find the child gdk window at coordinates root_x and root_y.

These 4 lines had 2 bugs:
1) x = x - root_x (same for y) is wrong, it should be x = root_x - x
2) gdk_device_get_window_at_position() does not give you the window
   at position x and y. It gives you the window under the device
   (mouse pointer) and the returns the device coordinates in x and y.

https://bugzilla.gnome.org/show_bug.cgi?id=763533

10 years agoUpdated Japanese translation
Jiro Matsuzawa [Mon, 14 Mar 2016 14:42:48 +0000 (14:42 +0000)]
Updated Japanese translation

10 years agogtk-demo: Handle GDK_TOUCH_CANCEL in event-axes demo
Carlos Garnacho [Mon, 14 Mar 2016 14:28:20 +0000 (15:28 +0100)]
gtk-demo: Handle GDK_TOUCH_CANCEL in event-axes demo

It is a thing in wayland, which means we leave traces from older
touches when the compositor takes over touch sequences in order
to handle a gesture.

10 years agoUpdated Russian translation
Stas Solovey [Mon, 14 Mar 2016 12:24:40 +0000 (12:24 +0000)]
Updated Russian translation

10 years agoAdwaita: more scss refactoring
Lapo Calamandrei [Mon, 14 Mar 2016 09:53:59 +0000 (10:53 +0100)]
Adwaita: more scss refactoring

10 years agoAdwaita: refactor entry scss
Lapo Calamandrei [Mon, 14 Mar 2016 09:19:05 +0000 (10:19 +0100)]
Adwaita: refactor entry scss

10 years agoUpdated Hungarian translation
Balázs Meskó [Mon, 14 Mar 2016 07:57:26 +0000 (07:57 +0000)]
Updated Hungarian translation